<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css('cake.generic');
		echo $this->Html->css('cyborg/bootstrap');
		echo $this->Html->css('style');

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body>
	<?php
	echo $this->element('menu');
	?>
	<div id="container">
		<div class="row-fluid">
			<div id="content" class="span8 offset1">
    		    
    		    <div class="navbar">
					<div class="navbar navbar-inverse">
						<div class="container">
							<div class="nav-collapse collapse">
			    		    <ul class="nav nav-tabs">
						    	<li>
						    		<?php echo $this->Html->link('Contactos', array('action'=>'../contactos/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Empresas', array('action'=>'../empresas/index')); ?>
						    	</li>
						    	<li> 
						    		<?php echo $this->Html->link('Escenarios', array('action'=>'../escenarios/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Fichas Soldados', array('action'=>'../fichas/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Materiales', array('action'=>'../materiales/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Misiones', array('action'=>'../misiones/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Rangos', array('action'=>'../rangos/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Redes Sociales', array('action'=>'../redes/index')); ?>
						    	</li>
						    	<li>
						    		<?php echo $this->Html->link('Personas', array('action'=>'../personas/index')); ?>
						    	</li>
						    </ul>
						    </div>
    					</div>
    				</div>
    			</div>
				<?php echo $this->Session->flash(); ?>
				<?php echo $this->fetch('content'); ?>
			</div>
			
			<div id="lateral" class="span2">
				<?php
					echo $this->element('lateral');
				?>
			</div>
		
			<div id="footer">
				<?php
					echo $this->element('footer');
				?>
			</div>
		</div>
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>